<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <#include "../../include/head.ftl"/>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <style type="text/css">
        .site-doc-icon{margin-bottom: 50px; font-size: 0;}
        .site-doc-icon li{display: inline-block; cursor: pointer; vertical-align: middle; width: 127px; line-height: 25px; padding: 20px 0; margin-right: -1px; margin-bottom: -1px; border: 1px solid #e2e2e2; font-size: 14px; text-align: center; color: #666; transition: all .3s; -webkit-transition: all .3s;}
        .site-doc-icon li .layui-icon{display: inline-block; font-size: 36px;}
        .site-doc-icon li .fontclass{display: none;}
        .site-doc-icon li .name{color: #c2c2c2;}
        .site-doc-icon li:hover{background-color: #f2f2f2; color: #000;}
    </style>
</head>
<body style="padding-top: 15px">
<#include "../../include/icons.ftl"/>
<form class="layui-form layui-form-pane div_search" style="padding-left: 15px;" id="searchForm">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label"> 菜单名称 </label>
            <div class="layui-input-inline">
                <input  name="name" autocomplete="off" id="object" class="layui-input"  type="text" >
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label"> 上级名称 </label>
            <div class="layui-input-inline">
                <input  name="parentName" autocomplete="off" id="object" class="layui-input"  type="text" >
            </div>
        </div>
        <div class="layui-inline">
            <button id="search" lay-submit class="layui-btn " lay-filter="search">
                <i class="layui-icon">&#xe615;</i>查询
            </button>
            <button id="reset" class="layui-btn layui-btn-warm" data-type="reset">重置</button>
        </div>
    </div>
</form>

<div class="layui-btn-group" style="padding-left: 15px;">
    <button class="layui-btn layui-btn-sm layui-btn-radius" data-type="add">
        <i class="layui-icon">&#xe654;</i>新增菜单</button>
</div>
<table class="layui-hide" id="menuList" lay-filter="table"></table>
<#include 'menuForm.ftl'/>
</body>
<#--表格操作列-->
<script type="text/html" id="toolbar">
    <div class="layui-btn-group">
        <button  class="layui-btn layui-btn-sm layui-btn-radius layui-btn-normal" lay-event="edit">
            <i class="layui-icon">&#xe642;</i>编辑</button>
        <button  class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" lay-event="del">
            <i class="layui-icon">&#xe640;</i>删除</button>
    </div>
</script>
<script type="text/javascript" src="${ctx}/ftl/js/menu/menu.js"></script>
</html>